#pragma once
#include "Program.h"
#include "glm/glm.hpp"
#include <string>

class ADProgram :
	public Program
{
public:
	ADProgram();
	virtual ~ADProgram() = default;

	bool SetupShaders();
	bool SetupVertexShader();
	bool SetupFragmentShader();
	inline void SetMat4(const std::string &name, const glm::mat4 &mat) const
	{
		glUniformMatrix4fv(glGetUniformLocation(Id, name.c_str()), 1, GL_FALSE, &mat[0][0]);
	}
};

